package org.fatmansoft.teach.Repository.ViewRepository;

import org.fatmansoft.teach.entity.ViewEntity.Course;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CourseRepository extends JpaRepository<Course,Integer> {
    List<Course> findCourseById(Integer id);
}
